package com.data.modules.smzh.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备版本信息
 * @Author: data-boot
 * @Date:   2023-08-21
 * @Version: V1.0
 */
@Data
@TableName("sm_device_version")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sm_device_version对象", description="设备版本信息")
public class SmDeviceVersion implements Serializable {

    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**序列号*/
	@Excel(name = "序列号", width = 15)
    @ApiModelProperty(value = "序列号")
    private String serialNo;
	/**设备类型*/
	@Excel(name = "设备类型", width = 15, dicCode = "sm_app_model")
	@Dict(dicCode = "sm_app_model")
    @ApiModelProperty(value = "设备类型")
    private String model;
	/**版本号*/
	@Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private String version;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**sim卡卡号*/
	@Excel(name = "sim卡卡号", width = 15)
    @ApiModelProperty(value = "sim卡卡号")
    private String iccId;
	/**设备序列号*/
	@Excel(name = "设备序列号", width = 15)
    @ApiModelProperty(value = "设备序列号")
    private String sn;
	/**国际移动设备识别码*/
	@Excel(name = "国际移动设备识别码", width = 15)
    @ApiModelProperty(value = "国际移动设备识别码")
    private String imei;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "sm_server_status")
	@Dict(dicCode = "sm_server_status")
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**经度*/
    @Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private java.lang.String latitude;
    /**维度*/
    @Excel(name = "维度", width = 15)
    @ApiModelProperty(value = "维度")
    private java.lang.String longitude;
    /**城市名称*/
    @Excel(name = "城市名称", width = 15)
    @ApiModelProperty(value = "城市名称")
    private java.lang.String city;

    /**截止日期*/
    @Excel(name = "截止日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "截止日期")
    private java.util.Date endTime;

    /**镜像版本号*/
    @Excel(name = "镜像版本号", width = 15)
    @ApiModelProperty(value = "镜像版本号")
    private java.lang.String mirrorVersion;
}
